package com.example.lotterysystem.controler.param;

import jakarta.validation.constraints.NotNull;
import lombok.Data;

import java.io.Serializable;

@Data
public class UserRegisterParam implements Serializable {
    /**
     * 姓名
     * 邮箱
     * 电话号码
     * 密码
     * 身份
     */
    @NotNull(message = "姓名不能为空")
    private String name;

    @NotNull(message = "邮箱不能为空")
    private String mail;

    @NotNull(message = "电话不能为空")
    private String phoneNumber;

    private String password;

    @NotNull(message = "身份信息不能为空")
    private String identity;

}
